Skip to content

Deploy staging to production#130

Merged
MarketDataApp merged 4 commits intomainfrom
staging
Feb 25, 2026
Merged

Deploy staging to production#130
MarketDataApp merged 4 commits intomainfrom
staging

Conversation

@MarketDataApp
Copy link
Owner

Summary

  • Add Context7 widget graceful transitions with sticky + deferred switching
  • Add worker markdown serving, 404 logging, and SDK PHP redirect
  • Add client-side redirects for old sheets formula URLs
  • Add CI integration test suites (staging + production) and Playwright e2e tests
  • Upload build artifacts to R2 for future unified deployment
  • Fix Go SDK sidebar slugs, stale robots.txt caching, and various frontmatter issues

Test plan

  • All staging integration tests pass (176 tests — markdown serving + redirects)
  • All staging e2e tests pass (5 Context7 widget smoke tests)
  • PR checks workflow runs staging tests as gate
  • Post-deploy job validates production after merge

Redirect /sheets/automatic-refreshing to /sheets/automatic-refresh
and add shortcut redirects for all formula pages so
/sheets/<formula> redirects to /sheets/<category>/<formula>.
Add an R2 upload step that syncs build output to the
www-marketdata-app-builds bucket under production/ or staging/ prefixes.
This prepares the repo for a future orchestrator that will assemble the
full site from multiple repos. Existing CF Pages deploy is unchanged.
Dynamically parses redirects from docusaurus.config.js so new
redirects are automatically covered. Tests both staging and
production environments. Also updates test:integration script
to run all integration test files.
- Parameterize all integration tests with TEST_ENV (staging/production)
- Add Playwright e2e tests for Context7 widget smoke testing
- New PR checks workflow: runs staging tests to gate merges to main
- Post-deploy job in deploy workflow: runs production tests after deploy
- Handler integration test uses production sitemap for both envs
  (staging has no sitemap due to noIndex)
- Add test-results/ to gitignore
@MarketDataApp MarketDataApp merged commit d835d22 into main Feb 25, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant